<?php
/**
 * 提现表验证器
 */

namespace app\common\validate;

class UserDrawValidate extends Validate
{
    protected $rule = [
            'bid|银行卡id' => 'require',
    'username|姓名' => 'require',
    'bank_code|银行卡号' => 'require',
    'note|备注' => 'require',
    'adminuser|操作人' => 'require',
    'dotime|处理时间' => 'require',

    ];

    protected $message = [
            'bid.require' => '银行卡id不能为空',
    'username.require' => '姓名不能为空',
    'bank_code.require' => '银行卡号不能为空',
    'note.require' => '备注不能为空',
    'adminuser.require' => '操作人不能为空',
    'dotime.require' => '处理时间不能为空',

    ];

    protected $scene = [
        'add'  => ['bid','username','bank_code','note','adminuser','dotime',],
'edit' => ['bid','username','bank_code','note','adminuser','dotime',],

    ];

    

}
